trp_custom_language_switcher().$custom_ls_array[$language_code]['language_name'] – the full language name$custom_ls_array[$language_code]['language_code'] – the language code of the respective language$custom_ls_array[$language_code]['short_language_name'] – the language code of the language, the slug which will be used in the url$custom_ls_array[$language_code]['flag_link'] – a link to the flag of the respective language$custom_ls_array[$language_code]['current_page_url'] – the URL of the current language with the language slug added
Here is an example of a custom-made language switcher:

You can also create a custom language switcher shortcode that you can then use like [custom-language-switcher]
If you just need to quickly create a classic language switcher, check out TranslatePress’ default language switcher settings.